error

open fun error(message: String)

Logs an ERROR message.

Parameters

message

the message to log


open fun error(message: String, arguments: Array<Any>)

Logs an ERROR message with the given arguments.

Parameters

message

the message to log

arguments

the array of arguments to the message


open fun error(message: String, exception: Throwable)

Logs an ERROR message with the given exception.

Parameters

message

the message to log

exception

the Throwable associated with the log message


open fun error(message: String, exception: Throwable, parameterSupplier: Supplier<String>)

Logs an ERROR message with the given exception and a lazy calculated parameter.

Parameters

message

the message to log

exception

the Throwable associated with the log message

parameterSupplier

a function, which when called, produces the desired log message parameter


open fun error(message: String, exception: Throwable, arguments: Array<Any>)

Logs an ERROR message with the given exception and arguments.

Parameters

message

the message to log

exception

the Throwable associated with the log message

arguments

the array of arguments to the message